Music Object Extension - Note Effects

  Contents

About This Extension

The Note Effects extension provides methods for easily creating rich sound textures and outrageous sound effects using just musical notes. For example, the playNoteSlide method provides a convenient way to generate musical note "slides", often referred to by musicians as glissandos.

Benefits of Note Effects

Effects produced using this extension have the following key benefits...

What's New in the Latest Version

There is a dedicated version history for this extension, where you will be able to find out about the new features and possible issues with the most recent version. The version history for this extension is independent of the version history for the core Music Object API.

Getting This Extension

To get the "music-object-x-note-effects.js" JavaScript file that implements this extension, simply right-click on this link (click-and-hold for Mac users). Then, from the menu that pops up, select the 'Save Link As...' or 'Save Target As...' option and save the file as "music-object-x-note-effects.js" into an appropriate folder of the local copy of your Web site.

In case you have problems saving the file using the above link, the "music-object-x-note-effects.js" file can also be found inside the documentation's "javascript" folder, along with the "music-object.js" file.

Dependencies

In order to use this extension, the following JavaScript file(s) must first be sourced in...

For more information on using extensions, consult the section About Music Object Extensions.

Reference

 Name   Short Description 
Instance Methods
playNoteSlide Plays an ascending or descending series of note pitches over a specified period of time.

Instance Methods

 playNoteSlide

 
 CATEGORY   Instance Method 
 MODULE   Music Object Extension - Note Effects 
 Min. Player Version   1.0.0 
 File Types Supported   RMF, MIDI 
 

The playNoteSlide method lets you play an ascending or descending series of note pitches over a specified period of time.

SYNTAX    playNoteSlide (
    MidiChannel1to16 ,
    BankNumber0to2 ,
    ProgramNumber0to255 ,
    StartNoteNumber0to127orNoteNameSTR ,
    EndNoteNumber0to127orNoteNameSTR ,
    StartVelocity0to127 ,
    EndVelocity0to127 ,
    StartNoteDurationMsINT ,
    EndNoteDurationMsINT ,
    SlideTimeMsINT ,
    NoteIntervalMsINT
)

PARAMETERS
SPECIAL VALUES
VARIATIONS
NOTES